<div class="home-box">
    <div class="user" [class.hide]="btnHide">
    <user [username]="userName" [phone]="phoneNum"></user>
    
    
    </div>
    <div class="title" [class.hide]="btnHide"></div>
    <!-- <p class="fuckyou">{{message}}</p> -->
    <!-- <p class="fuckyou2">{{message2}}</p> -->
    <div class="logo" [class.logo-1]="stampId==1"
    [class.logo-2]="stampId==2"
    [class.logo-3]="stampId==3"
    [class.logo-4]="stampId==4"
    [class.logo-5]="stampId==5"
    [class.logo-6]="stampId==6"
    [class.logo-7]="stampId==7"
    [class.logo-8]="stampId==8"
    [class.logo-9]="stampId==9"
    [class.logo-10]="stampId==10"></div>
    
    <div class="firework"></div>
    <div class="boom"></div>

    <div class="get-btn" [class.hide]="btnHide" (click)="toActivity()"></div>
    <div class="adv"></div>
    <!-- 邮戳详情弹窗 -->
    
</div>
<div class="register" [class.displaynone]="loginHide">
    <div class="form-box">
        <div>
            <input class="phone" type="number" 
                    placeholder="手机号码" 
                    required (blur)="formPhone($event)"
                    [class.error]="phone_error">
            <div class="sms">
                <input class="sms-code" type="number" 
                        placeholder="验证码"
                        required (blur)="formSms($event)"
                        [class.error]="sms_error">
                        
                <div class="sms-btn" [class.sms-btn-await]="allowSms"
                            [class.sms-btn-lock]="!allowSms" 
                            (click)="sendSmsCode()">{{getSmsCount()}}</div>
            </div>
        </div>
        <div class="register-btn" (click)="submitSmsCode()"></div>
        <div class="switch" (click)="loginWindow()"></div>
        <!-- <div class="switch"></div> -->
        
    </div>   
</div>